//
//  WhLoginViewController.h
//  IOSDemo
//
//  Created by wang on 13-1-24.
//  Copyright (c) 2013年 wang. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "WhConnectPTL.h"
struct Connect;
@interface WhLoginViewController : UIViewController <WhConnectPTL>
{
    __weak IBOutlet UITextField *username;
  struct  Connect* _connect;
    __weak IBOutlet UITextField *password;
}
- (IBAction)sender:(id)sender;
@property(nonatomic, retain)NSThread* _connectThread;

-(void) connectThread:(id) arg0;
-(void) onConnect;
-(void) onDisconnect;
-(void) onLoginSuccess;

@end
